﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SISIN.DA;
using SISIN.BE;

namespace SISIN.BL
{
    public class UsuarioBL
    {
        UsuarioDA _dal = UsuarioDA.GetInstance();

        public int GetAccess(String username, String password) {
            return _dal.GetAccess(username, password);
        }

        public Boolean LogOut(int id) {
            return _dal.LogOut(id);
        }

        public List<UsuarioBE> GetUsersOnline() {
            return _dal.GetUsersOnline();
        }

        public UsuarioBE GetById(int id) {
            return _dal.GetById(id);
        }
                
    }
}
